var questaoModule = angular.module("ProjetoQuestao", []);	

questaoModule.controller("ProjetoQuestaoCtrl", function ($scope, $http){
		$scope.questoes = [];
		$scope.carregarQuestoes = function() {
			$http.get('questoes').success(function(questoes) {
				$scope.questoes = angular.fromJson(questoes);
			});
		};
		$scope.carregarQuestoes();
});

